<template>
  <div class="container">
    <el-card>
      <div class="header">
        <span>销售额类别占比</span>
        <el-radio-group v-model="tabPosition" style="margin-bottom: 10px">
          <el-radio-button label="first">全部渠道</el-radio-button>
          <el-radio-button label="second">线上</el-radio-button>
          <el-radio-button label="third">门店</el-radio-button>
        </el-radio-group>
      </div>
      <div class="content">
        <PieEcharts></PieEcharts>
      </div>
    </el-card>
  </div>
</template>

<script>
import PieEcharts from './pieEcharts.vue'
export default {
  name: "FooterEcharts",
  components: {PieEcharts},
  data() {
    return {
        tabPosition: 'first'
    }
  },
};
</script>

<style>
.header {
    /* width: 100%; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.content {
  width: 100%;
  height: 290px;
}
</style>